package com.vipsoft.base.entity.wechat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.vipsoft.base.entity.BaseEntity;

import java.util.Date;


/**
 * 用户信息
 */
@TableName(value = "member_info", autoResultMap = true)
public class MemberInfo extends BaseEntity {

    /**
     *主健ID
     */
    @TableId(value="id", type = IdType.ASSIGN_UUID)
    private String  id;
    /**
     *微信OpenID
     */
    @TableField(value = "open_id")
    private String  openId;
    /**
     *手机号
     */
    @TableField(value = "phone_no")
    private String  phoneNo;
    /**
     *关联人
     */
    @TableField(value = "relationship_id")
    private String  relationshipId;
    /**
     *密码
     */
    @TableField(value = "password")
    private String  password;
    /**
     *昵称
     */
    @TableField(value = "nick_name")
    private String  nickName;
    /**
     *真实姓名
     */
    @TableField(value = "real_name")
    private String  realName;
    /**
     *生日
     */
    @TableField(value = "birthday")
    private Date  birthday;
    /**
     *性别(0:女、1:男)
     */
    @TableField(value = "gender")
    private String  gender;
    /**
     *头像地址
     */
    @TableField(value = "avatar_url")
    private String  avatarUrl;
    /**
     *最后一次使用时间
     */
    @TableField(value = "last_time")
    private Date  lastTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getRelationshipId() {
        return relationshipId;
    }

    public void setRelationshipId(String relationshipId) {
        this.relationshipId = relationshipId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }
}
